home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / utility / ffe101.zip / DATABASE.SWG / 0002_DB3.pas < prev    next >
Pascal/Delphi Source File  |  1996-09-03  |  2KB  |  40 lines

  1. --------X-DBase III-------------------------
  2.  
  3. DBASE - File header structure (DBASE III)
  4.  
  5. OFFSET              Count TYPE   Description
  6. 0000h                   1 byte   dBASE version,
  7.                                    03h = dBASE III w/o *.DBT
  8.                                    83h = dBASE III w *.DBT
  9. 0001h                   1 byte   Month of last update
  10. 0002h                   1 byte   Day of last update
  11. 0003h                   1 byte   Year of last update
  12. 0004h                   1 dword  Number of data records in file
  13.                                  ="NDR"
  14. 0008h                   1 word   Header size
  15.                                  ="HSZ"
  16. 000Ah                   1 word   Data record size
  17.                                  ="DRS"
  18. 000Ch                  12 byte   reserved
  19. 0020h                   ? rec    Field descriptors
  20.                                  The list of field descriptors is
  21.                                  terminated with a terminator
  22.                                  byte 0Dh.
  23.                        11 char   ASCIIZ field name
  24.                         1 char   Data type
  25.                                  'C' - Char
  26.                                  'D' - Date
  27.                                  'L' - Logical
  28.                                  'M' - Memo
  29.                                  'N' - Numerical
  30.                         1 dword  Field data address ( set in RAM )
  31.                         1 byte   Field length
  32.                         1 byte   Number of decimal places
  33.                        14 byte   reserved
  34. EXTENSION:DBF
  35. SEE ALSO:DBASE II,XBase
  36. OCCURENCES:PC
  37. PROGRAMS:DBase
  38. VALIDATION:FileSize="NDR"*"DRS"+"HSZ"
  39.  
  40.